﻿@if(SessionCache.CurrentUser != null)
{
    <div>
        <ul class="LeftMenu">
        @if (UserInfo.IsCompanyUser)
        {              
            <li>@Html.PrivateLink("Company Profile", "ProfileEdit", "Company")</li>
            <li>@Html.PrivateLink("Manage Contacts", "List", "Contact")</li>
            <li>@Html.PrivateLink("Manage Users", "List", "User")</li>
            <li>@Html.PrivateLink("Manage Products", "List", "Product")</li> 
            <li>@Html.PrivateLink("Manage Stores", "List", "Store")</li>
            
            @*<li>@Html.PrivateLink("Inventory Receive", "List?reqFrom=Receive", "Inventory")</li> 
            <li>@Html.PrivateLink("Inventory Issue", "List?reqFrom=Issue", "Inventory")</li> 
            
            <li><a href="/private/inventory/list?reqFrom=Receive">Inventory Receive</a></li>
            <li><a href="/private/inventory/list?reqFrom=Issue">Inventory Issue</a></li>*@
            <li>@Html.PrivateLink("Inventory", "List", "Inventory")</li>
            
            <li>@Html.PrivateLink("My Favorites", "", "Favorites")</li>
            <li>@Html.PrivateLink("Request New Category", "RequestCategory", "Company")</li> 
        }
        else if (UserInfo.IsAdmin)
        {
            <li>@Html.AdminLink("Manage Categories", "List", "Category")</li>
            <li>@Html.AdminLink("Manage Industry Types", "List", "IndustryType")</li>
            <li>@Html.AdminLink("Manage Contents", "List", "Content")</li>
            <li>@Html.AdminLink("Manage Search", "SearchIndexStatus", "SearchConfig")</li>
            <li>@Html.PrivateLink("My Favorites", "", "Favorites")</li>
        }
        else if (UserInfo.IsSiteUser)
        {
            <li>@Html.PrivateLink("My Favorites", "", "Favorites")</li>
        }
        </ul>
    </div>
}